package org.spring.springboot.app.ztest.controller;

import io.swagger.annotations.*;
import org.spring.springboot.app.base.R;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;

import java.text.SimpleDateFormat;
import java.util.Date;

@ApiIgnore
@Api(description="测试相关操作")
@RestController
public class TestController {

    @ApiOperation(value="九派回调")
    @RequestMapping("/jiupaipay/notify")
    public String test() throws Exception {
        SimpleDateFormat format = new SimpleDateFormat("yyy-MM-dd HH:mm:ss");
        System.out.println("--------九派回调-------"+format.format(new Date()));
        return "result=SUCCESS";
    }

}
